package lzzy15;

import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;

public class ExecutorDome {
    public static void main(String[] args) {
        ExecutorService executor = Executors.newFixedThreadPool(3);

        lzzy15.Student stu1 = new lzzy15.Student("1258","大哥","男");
        lzzy15.Student stu2 = new lzzy15.Student("1259","大嫂","女");
        lzzy15.Student stu3 = new lzzy15.Student("1260","二哥","男");
        lzzy15.Student[]  studs1 = {stu1,stu2,stu3};
        executor.execute(new StudenInFo(studs1));
    }
}
